Introduction


Editing in Sauer is very intuitive, yet extremely powerful. There are a multitude of options for editing, and it is impossible to create a complete walkthrough of everything you can do with sauer. Thus, experimentation is not only encouraged, to some degree it is required. Even the developers don't know everything that can be done with Sauer - there are many possibilities to be discovered and thought of. As such, this guide will focus on the abstract concepts of editing, and will introduce you to some of the possibilities. For a more concrete (but far from complete) list on the specifics of editing, see the page on Editing Methodology.

You might want to see Script Demo - Map Menu about loading your personal maps from console and/or menu.

Map CFGs


Each map's individual properties are determined by its .CFG file. You can find examples in existing .CFG files (just open them up in a text editor) and the wiki-teams map configuration page for the specific commands, and their uses. It is recommended that every map uses a .CFG, since many things are controlled by the .CFG. There is a default .CFG that will be used, if one is not provided. To use a map-specific .CFG, just name the .CFG the same as your map file name.

Map Menu-Screenshot


Making screenshot of your map that appears in the menu is simple:

1 . Just take a clean screenshot of your map, with hudgun 0 and hidehud 1.
Alternatively you can get MeatROme´s "Pretty Screenshot" script.

You might want to take it at a higher fov (like 120) to get some more of the map onto the screen.

2. Now open your screenshot in Photoshop or in The Gimp (free). Select a rectangular portion of your image. Just hold down shift while using the marquee tool, it will restrict it to rectangular. Now crop the portion.

3. Go "Image" -> "Image Size" and resize it to 256x256 pixels. Chose "Cubic" ( called "bicubic" in PS) as resampling method.

4. Press ctrl-alt-keypad 0 to view it at it´s actual size.

Now you might want to tweak the brightness a bit if you feel it´s neccessairy.
Keep in mind, using the "brightness/contrast" command, if you increase the brightness, your image might get a washed out look. To counter this also raise the contrast a bit. Raising the contrast though can make the colours appear too saturated. Counter this with slightly decreasing the saturation a bit if neccessairy, until the image looks natural again.

5. As a last step you might want to experiment with sharpening a bit. (resizing an image always decreses sharpness a bit).
I recommend you use an "Unsharp Mask" filter, since it gives a milder result and enhances contrast and highlights a bit. Don´t overdo this.

6. Now save your image as mymapname.jpg and move it to the "base" folder.

Final Notes : Don´t overdo the tweaking. Also it might be a good idea to choose a prominent place of your map. Keep in mind the mapshot should be informational in nature, helping the players to learn wich map is wich better. So there´s really no need to get all artistic on it. Please refrain from adding text or paint filters, to help keep the look consistent.

Masks on models (specular and glow)


A masks.jpg is an image that combines a glowmap and a specular map. To fit both into one image, they are essentially greyscale images in the red (specular) and green (glow) channel. The blue channel is unused, but might be used in the future for another type of map.

Easiest way to grasp the concept would be to open an exsisting mask (for example /packages/models/boost/masks.jpg).
Open your "channels" window in either Photoshop or The Gimp, and have a look at the individual channels. Blue is black (unused) and the red and green channels will hold the specular and glow information. The brighter the values, the stonger the effect will be. With the specular map, you can control the shininess of the materials (and for example make the metal more reflective than the wood parts of a model) and the glow map will allow you to have certain parts of the model appear as if they emit light (for example lamps, leds, lava, flames). Note that the colour, since the green channel only holds brightness values, will have to be controlled via the colour map (usually referred to as the "skin").
If your model doesn´t need any glow, just keep the green channel empty (i.e. black).

To use your mask, you have basically two options. On an md2, you simply drop a file called "masks.jpg" into your model´s directory, and it will be used on the model. On an md3, you either use it without configuration, and add a "masks.jpg" like for an md2, or you can assign diffrent mask textures to the parts of your model, wich then can have individual names. (see "md3 how-to" below for further info).

You can also control the overall strenght of the specular part with the "mdlspec" command in your model´s cfg-file. Be sure to keep the blue channel empty, for one day it might be used for a third type of map, and you don´t want any unwanted results to appear on your model that day.



Editing related links



Suggested Modelling Tools


Blender
A free, powerfull, cross platform open source modelling suite.
To export md3´s you will need Python 2.4 installed and these python scripts (if link remains broken mirrored by geartrooper : blendermd3.zip).
Blender´s md2 script is a bit broken unfortunately, you will need to export your md2 as an .obj from blender, import it into Misfit, export as md2,
import it to q2modeller, then export it as md2 once again from there.

Milkshape3D
A low cost, simple low polygon modeller for Windows, exports md2 and md3 fine. Does not support vertex weights. Fine for everything exept characters (due to no vertex weighting animation might be hard to do).

Q2Modeller
Native tool to model md2´s for windows. Can be emulated easily on Linux too. A bit aged by now, but can be handy to make custom vweaps from existing vweaps.
Also used as a "clean up" for incorrect md2´s you might encounter using other programs.

Misfit Model 3D
A free cross platform 3D modeling program that imports md2 and animations. Misfit supports bone animation and conversion to vertex animations. After exporting the md2 load it up and export as md2 again in q2modeller to have the proper headers for your file.